#include<stdio.h>
#include<conio.h>

void main ( )

{
	long int n, a, b, c, d, e, s = 0,m ;

	clrscr ( ) ;

	printf( "\n\n\n\t\tEnter any five digit numbers only: ");
	scanf( "%ld", &n) ;

	m=n ;

	a = n % 10 ;

	n = n / 10 ;

	b = n % 10 ;

	n = n / 10 ;

	c = n % 10 ;

	n = n / 10 ;

	d = n % 10 ;

	n = n / 10 ;

	e = n % 10 ;

	s = (a * 10000 + b * 1000 + c * 100 + d * 10 + e);

	printf("\n\n\n\t\ts =  %ld",s);

		if(m == s)
			{
			printf("\n\n\n\t\tEntered number is same");
			}
		else
			printf("\n\n\n\t\tEntered number is not same");

	getch ( ) ;
}
